FROM livingobjects/jre8
VOLUME /tmp
ADD api-gateway.jar app.jar
RUN bash -c 'touch /app.jar'
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-Dspring.profiles.active=prod","-Xms280M","-Xmx280M","-jar","/app.jar"]